What is the most handy function you've ever came across? [closed]

Posted by Viniyo Shouta on Programmers See other posts from Programmers or by Viniyo Shouta
Published on 2012-09-28T21:10:57Z Indexed on 2012/09/28 21:50 UTC
Read the original article Hit count: 129

Obviously everything is 'handy' when it comes to programming terms, but some get a highlight spot, like containers, matrix trasnformation functions and many others. But in this case please mention the one it was more handy to you, saved you from sparing hours resolving a problem, or even the one you like more, What is it and what does it does?

I'll start with an example.

Language: C++
Function: std::sort (STL)
What does it does: Arranges the elements in a specified range into a nondescending order or according to an ordering criterion specified by a binary predicate. (It arranges a container in decreasing order)

Why of this question? Because I want to learn how to if possible make my own implementations of these functions for pure studying purposes, to enhance knowledge

© Programmers or respective owner

Related posts about language-agnostic

Related posts about functions